<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        a:hover {
            color: red;
        }

        div:hover {
            color: #ffa500;
        }
    </style>
</head>
<body>

<a href="#">这是超链接</a>
<div>这是div</div>
</body>
</html>